cmake_minimum_required(VERSION 3.12.4)

project(thirdpart)


add_subdirectory(tslib)
add_subdirectory(sqlite3)
add_subdirectory(ffmpeg)
add_subdirectory(cJSON-1.7.15)
add_subdirectory(openssl)
add_subdirectory(mosquitto)


add_custom_target(thirdpart
    COMMAND ${CMAKE_COMMAND} -E echo "Build thirdpart finished!"
)

add_dependencies(thirdpart tslib sqlite3 ffmpeg openssl_install)
